package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 收藏关系表
 */
@Entity
@Table
public class Collect implements Serializable{

	private static final long serialVersionUID = 4095121094579673031L;
	
	private Integer code;
	private Integer ac;			//公告编号
	private Integer uc;			//收藏人编号
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	
	@Column
	public Integer getAc() {
		return ac;
	}
	
	@Column
	public Integer getUc() {
		return uc;
	}
	
	
	
	
	
	
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setAc(Integer ac) {
		this.ac = ac;
	}
	public void setUc(Integer uc) {
		this.uc = uc;
	}
	
}
